#ifndef _BASEVIEW_H_
#define _BASEVIEW_H_

#include "EntityView.h"
#include "..\..\GameModel\model\Base.h"
#include "..\sdl\SDLProgressBar.h"
#include "..\BaseLifeMonitor.h"
#include "..\BaseLifeProperty.h"
#include "Logger.h"
#include "SDL_ttf.h"

using namespace util;

namespace view
{
class BaseView : public EntityView
{
public:
	BaseView(Entity* entity, SDLSurface* parentSurface);
	virtual ~BaseView(void);
	void paint(void);
private:
	void initializeLifeMeter(void);
	void drawLifeMeter(void);
	void drawName(void);
	void initializeFont(void);
	auto_ptr<SDLProgressBar> lifeMeter;
	auto_ptr<BaseLifeProperty> lifeProperty;
	int textSize;
	TTF_Font* font;
};
};

#endif
